package com.qf.service.impl;

import com.qf.entity.User;
import com.qf.mapper.UserMapper;
import com.qf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * --- 永无霸哥 ---
 *
 * @author M.rk
 * @date 2024/12/2 13:39
 * @desc
 */
@Service
public class UserServiceImpl  implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User login(User user) {

        User login = userMapper.login(user);

        return login;
    }
}
